package com.pets.dao;

import com.pets.entity.Admin;
import org.apache.ibatis.annotations.Param;


public interface AdminMapper {
    int deleteByPrimaryKey(Integer adminid);

    int insert(Admin record);

    int insertSelective(Admin record);

    Admin selectByPrimaryKey(Integer adminid);

    int updateByPrimaryKeySelective(Admin record);

    int updateByPrimaryKey(Admin record);


    Admin selectByAdminNameAndPwd(@Param("adminname") String adminname
            ,@Param("adminpwd") String adminpwd);
}